package data.user;

import java.io.Serializable;

@SuppressWarnings("serial")
public class User implements Serializable{
	protected int type;
	protected String id;
	protected String password;
	protected String name;
	protected String store;
	
	public User(){
		
	}
	public User(String id){
		this.id=id;
		this.name="XXX";
		this.password="123456";
	}
	public User(String id,String name){
		this.id=id;
		this.name=name;
		this.password="123456";
	}
	
	public User(String id,String name,String store){
		this.id=id;
		this.name=name;
		this.password="123456";
		this.store=store;
	}
	public User(String id,String passd,String name,String store){
		this.id=id;
		this.password=passd;
		this.name=name;
		this.store=store;
	}
	public User(int type,String id,String name,String password,String store){
		this.type=type;
		this.id=id;
		this.name=name;	
		this.password=password;
		this.store=store;
	}
	
	public String getID(){
		return id;
	}
	
	public void setid(String id){
		this.id=id;
	}
	
	public String getName(){
		return name;
	}
	
	public void setname(String name){
		this.name=name;
	}
	
	public int getType(){
		return type;
	}
	public String getStore(){
		return store;
	}
	public String getpassword(){
		return password;
	}
	
	public void setpassword(String password){
		this.password=password;
	}
	
	public String toString(){
		return id+" "+password;
	}

}
